package com.funcas.pcloud.cms.web;

import com.funcas.pcloud.cms.feign.IUpmsService;
import com.funcas.pcloud.common.ApiResult;
import com.funcas.pcloud.common.base.BaseController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author funcas
 * @version 1.0
 * @date 2018年10月12日
 */
@RestController
@RequestMapping("/cms")
public class CmsController extends BaseController {

    private final IUpmsService upmsService;

    @Autowired
    public CmsController(IUpmsService upmsService) {
        this.upmsService = upmsService;
    }

    @GetMapping("/getUsers")
    public ApiResult getUsers(){
        return null;
//        return upmsService.getUserLists(1, 10);
    }
}
